package com.llyb.tingshu.order.client.impl;


import com.llyb.tingshu.common.result.Result;
import com.llyb.tingshu.model.order.OrderInfo;
import com.llyb.tingshu.order.client.OrderInfoFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class OrderInfoDegradeFeignClient implements OrderInfoFeignClient {

    /**
     * 根据订单号获取订单信息
     *
     * @param orderNo
     * @return
     */
    @Override
    public Result<OrderInfo> getOrderInfo(String orderNo) {
        log.error("OrderInfoDegradeFeignClient: 获取订单信息失败");
        return null;
    }
}
